package com.youtills.core.auth;

/**
 * Created by IntelliJ IDEA.
 * User: ravi
 * Date: 8/12/12
 * Time: 3:30 PM
 * To change this template use File | Settings | File Templates.
 */
public interface IAuthenticationDao {

    boolean resetPassword(String email);

    boolean changePassword(int userId, String currentPassword, String newPassword);

    IAuth authenticateUser(String email, String password);

    IAuth getAuth(int authId, String authKey);

    boolean validateAndExtendAuth(IAuth auth);
}
